package zuoye;

public class Atctor {
	private String name;

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	@Override
	public String toString() {
		return "Atctor [name=" + name + "]";
	}

	public Atctor(String str) {
		String[] arr=str.split("-");
		this.name=arr[0];
	}

	public Atctor() {
		super();
	}
}
